package com.system.entity.mail;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.system.annotation.Log;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Classname mail_MailRecord
 * @Date 2023/8/11 9:46
 * @Created ZFC
 */

@Data
@ToString
@Api("邮件记录")
public class MailRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("邮件ID")
    @TableId(type = IdType.AUTO)
    private Long mailId;

    @ApiModelProperty("收件人邮箱")
    private String recipientsMail;

    @ApiModelProperty("主题")
    private String subject;

    @ApiModelProperty("邮件内容")
    private String content;

    @ApiModelProperty("状态")
    private int status;

    @ApiModelProperty("发送时间")
    private LocalDateTime sendTime;
}
